package com.chixing.day07_abstarct.toString;

public class Company {
    private int companyId;
    private String companyName;
    private String companyType;
    private String companyAddress;
    private long companyTelno;

    @Override
    public String toString() {
        return "Company{" +
                "companyId=" + companyId +
                ", companyName='" + companyName + '\'' +
                ", companyType='" + companyType + '\'' +
                ", companyAddress='" + companyAddress + '\'' +
                ", companyTelno=" + companyTelno +
                '}';
    }

    public Company(int companyId, String companyName, String companyType, String companyAddress, long companyTelno) {
        this.companyId = companyId;
        this.companyName = companyName;
        this.companyType = companyType;
        this.companyAddress = companyAddress;
        this.companyTelno = companyTelno;


    }
}
